﻿<%@ Page Title="View Architects" Language="C#" MasterPageFile="~/CDBPage.master" AutoEventWireup="true" CodeFile="addArchitects.aspx.cs" Inherits="addArchitects" %>

<%@ Register src="controls/userNavigation.ascx" tagname="userNavigation" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
    <link rel="stylesheet" href="css/prettyPhoto.css" />
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $("a[rel^='prettyPhoto']").prettyPhoto({
                custom_markup: '<div id="map_canvas" style="width:500px; height:300px"></div>',
            });
        });
    </script>
<section class="content">
    <div class="inner-billboard">
        <h3>Add Architects</h3>
        <blockquote></blockquote>
    </div>
        <div style="min-height: 300px;">
                    <p></p>
                    <uc1:userNavigation ID="userNavigation1" runat="server" />
                    <br /><br /><br />
                    <div style="float: left;">
                        <div class="news-gallery">
                        <div style="color:Red;">
                        <asp:Literal id="spMessage" runat="server"></asp:Literal>
                        </div>
                        <asp:DataList ID="dListArchitects" runat="server" RepeatColumns="3" 
                            RepeatDirection="Horizontal" onitemdatabound="dListArchitects_ItemDataBound">
                            <ItemTemplate>
                                <ul>
                                    <li class="ease">
                                        <h2><a href="ArchitectDetail.aspx?Id=<%#Eval("Id") %>" >
                                                <%#Eval("Firm") %>
                                                </a></h2>
                                                <asp:Label id="spanDate" style="display: none;" runat="server" Text='<%#Eval("DateCreated")%>'></asp:Label>
                                        <span id="spDateCreated" runat="server">
                                            <%--<small>May</small>
                                            <div>28</div>--%>
                                        </span>
                                        <p><%#Eval("Specialization") %></p>
                                        <%--<div style="text-align:center; background-color: Black; display: block;"><a href="addArchitects.aspx?aId=<%#Eval("Id") %>" style=" color: White !important;">Select Me</a></div>--%>
                                    </li>
                                </ul>
                            </ItemTemplate>
                        </asp:DataList>
                    </div>
                    </div>
                    <div class="clear"></div>
            </div>
    
</section>
</asp:Content>

